package com.example.demo.service;

import com.example.demo.entity.CourseQuestion;

import java.util.List;

public interface CourseQuestionService {
    int insertCourseQuestion(CourseQuestion courseQuestion);
    int deleteCourseQuestionById(int id);
    int updateCourseQuestion(CourseQuestion courseQuestion);
    CourseQuestion selectCourseQuestionById(int id);
    List<CourseQuestion> selectAllCourseQuestions();
    List<CourseQuestion> selectCourseQuestionsByCourseId(int courseId);
    List<CourseQuestion> selectCourseQuestionsByTeacherId(int teacherId);
}